package com.yfbao.horizon.docker.entity;

import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement(name = "User")
public class User {
    private String name;
    private int age;

    // 必须有无参构造函数
    public User() {}

    // 标准的getter和setter
    public String getName() { return name; }
    public void setName(String name) { this.name = name; }
    public int getAge() { return age; }
    public void setAge(int age) { this.age = age; }
}